package brushQuestions.thread.WaitNotify;

/**
 * @author: mengfanbing
 * @date: 2020/5/28 13:40
 */
public class Depository {
    private static Integer STOCK = 0;

    public static Integer increase(){
        return ++STOCK;
    }

    public static Integer reduce(){
        return --STOCK;
    }

    public static Integer getStock(){
        return STOCK;
    }
}
